package com.jinbei.mapper;

import com.jinbei.domain.PayOrder;

import java.util.List;
import java.util.Map;

public interface PayOrderMapper {

    /**
     * @author zflu
     * @Description   元宝充值订单新增
     * @date 2018/9/17 16:06
     * @param payOrder
     * @return int
     */
    int insertPayOrder(PayOrder payOrder);

    /**
     * @author zflu
     * @Description 用户元宝充值订单审批
     * @date 2018/9/17 16:44
     * @param payOrder
     * @return int
     */
    int approverPayOrder(PayOrder payOrder);

    /**
     * @author zflu
     * @Description   用户元宝充值订单删除
     * @date 2018/9/17 16:49
     * @param id
     * @return int
     */
    int deletePayOrderById(Integer id);

    /**
     * @author zflu
     * @Description  用户元宝充值订单详情
     * @date 2018/9/17 17:10
     * @param id
     * @return int
     */
    PayOrder queryPayOrderById(Integer id);

    /**
     * @author zflu
     * @Description  元宝充值订单列表
     * @date 2018/9/17 17:58
     * @return java.util.List<com.jinbei.domain.PayOrder>
     */
    List<PayOrder> queryPageOrderList();
}